CC=gcc
CFLAGS=-g -Wall
LDFLAGS=

BIN=test

all: ${BIN}

test: test.o search.o
	${CC} ${LDFLAGS} -o test test.o search.o

test.o: test.c search.h
	${CC} ${CFLAGS} -c test.c

search.o: search.c search.h
	${CC} ${CFLAGS} -c search.c


clean:
	rm -f *.o ${BIN}
